﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XWeb.Core
{
    static class Def
    {
        /// <summary>
        /// 多媒体文件类型
        /// </summary>
        public static class MediaType
        {
            public const int Other = 0x00;

            /// <summary>
            /// .png,.jpg,.gif
            /// </summary>
            public const int Image = 0x01;

            /// <summary>
            /// .ico
            /// </summary>
            public const int Icon = 0x02;

            /// <summary>
            /// 视频.mp4,.avi
            /// </summary>
            public const int Video = 0x03;

            /// <summary>
            /// 音频文件.mp3,.wav
            /// </summary>
            public const int Audio = 0x04;

            /// <summary>
            /// 文档.doc,.xls,.txt
            /// </summary>
            public const int Document = 0x05;
        }
    }
}
